class Pulibc {
  navigateUrl(url) {
    wx.navigateTo({
      url: url,
    })
  }
  // 封装showToast
  showToast(title,icon){
    wx.showToast({
      title: title,
      icon:icon
    })
  }
  // 封装showModel
  showModel(title,content,showCancle){
    wx.showModal({
      title: title,
      content: content,
      showCancel:showCancle
    })
  }

}
export {
  Pulibc
}